package com.gismore.demo.db.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.gismore.demo.db.domain.SecUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author lei
 * @since 2017-05-25
 */
@Mapper
public interface SecUserMapper extends BaseMapper<SecUser> {
	List<SecUser> findAll();
	SecUser findByName(@Param("username")String username);
	SecUser findByUasernameAndPassword(@Param("username")String username,@Param("password")String password);
}